package com.eflow.engine.service.impl;

import com.eflow.model.domain.EflowUser;
import com.eflow.engine.mapper.EflowUserMapper;
import com.eflow.model.service.IEflowUserService;
import com.eflow.model.vo.EflowUserQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @CLASSNAME EflowUserServcieImpl
 * @Description
 * @Auther JanHezz
 * @BLOG www.luckyhe.com
 * @DATE 2021/3/10 10:30
 */
public class EflowUserServcieImpl implements IEflowUserService {

    @Autowired
    private   EflowUserMapper eflowUserMapper;


    @Override
    public EflowUser selectUserByUserId(String userId) {
        return eflowUserMapper.selectUserById(userId);
    }

    @Override
    public EflowUser selectUserByUserName(String userName) {
        return eflowUserMapper.selectUserByUserName(userName);
    }

    @Override
    public List<EflowUser> selectUserListByUserQuery(EflowUserQuery userQuery) {
        return eflowUserMapper.selectUserList(userQuery);
    }

    @Override
    public List<EflowUser> selectUserByUserIds(List<String> ids) {
        return eflowUserMapper.selectUserByUserIds(ids);
    }

    @Override
    public List<EflowUser> selectUserByDeptIds(List<String> ids) {
        return eflowUserMapper.selectUserByDeptIds(ids);
    }

    @Override
    public List<EflowUser> selectUserIds(List<String> ids) {
        return null;
    }

    @Override
    public List<EflowUser> selectUserDeptPostUser(String userId, String deptId) {
        return null;
    }

    @Override
    public List<EflowUser> selectDeptPostUser(String deptCode, String postId) {
        return null;
    }

    @Override
    public EflowUser selectProxyUserByUser(EflowUser user) {
        return null;
    }


    @Override
    public List<EflowUser> selectProxyUserByUser(List<EflowUser> user) {
        return null;
    }

}
